package com.ronglian.register_mini_program.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class RegisterOrder {
    @ApiModelProperty(value = "订单id", name = "order_id")
    private Integer order_id;

    @ApiModelProperty(value = "报名人id", name = "open_id")
    private String open_id;

    @ApiModelProperty(value = "活动id", name = "activity_id")
    private Integer activity_id;

    @ApiModelProperty(value = "数量", name = "count")
    private Integer count;

    @ApiModelProperty(value = "支付完成时间", name = "pay_time")
    private Date pay_time;

    @ApiModelProperty(value = "支付金额", name = "payment_amount")
    private Double payment_amount;

    @ApiModelProperty(value = "是否支付完成", name = "is_payment")
    private Integer is_payment;

    @ApiModelProperty(value = "订单创建时间", name = "create_time")
    private Date create_time;

    @ApiModelProperty(value = "订单修改时间", name = "update_time")
    private Date update_time;

    public Integer getOrder_id() {
        return order_id;
    }

    public void setOrder_id(Integer order_id) {
        this.order_id = order_id;
    }

    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id == null ? null : open_id.trim();
    }

    public Integer getActivity_id() {
        return activity_id;
    }

    public void setActivity_id(Integer activity_id) {
        this.activity_id = activity_id;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Date getPay_time() {
        return pay_time;
    }

    public void setPay_time(Date pay_time) {
        this.pay_time = pay_time;
    }

    public Double getPayment_amount() {
        return payment_amount;
    }

    public void setPayment_amount(Double payment_amount) {
        this.payment_amount = payment_amount;
    }

    public Integer getIs_payment() {
        return is_payment;
    }

    public void setIs_payment(Integer is_payment) {
        this.is_payment = is_payment;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }
}